package com.mvp.shq.washer.ui.shop.order.refund;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;


/**
 * Created by westing on 2017/10/12.
 * 退款
 */

public interface RefundConstract {
    interface View extends BaseView{
        void submitS();
    }
    interface Model extends BaseModel{
        Observable<BaseResult<String>> submitRefund(String token,String userId,String orderId,String receiveStatus,String refundReason,Map<String, RequestBody> maps);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void submitRefund(String orderId,String receiveStatus,String refundReason,Map<String, RequestBody> maps);
    }
}
